package com.ruoyi.hippocampus.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 订单明细对象 orderdetail
 * 
 * @author ruoyi
 * @date 2023-07-05
 */
public class Orderdetail extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 订单明细ID */
    private Long id;

    /** 用户地址ID */
    @Excel(name = "用户地址ID")
    private Long addressId;

    /** 拍摄人数 */
    @Excel(name = "拍摄人数")
    private Long numberOfPeople;

    /** 订单创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "订单创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date created;

    /** 摄影师ID */
    @Excel(name = "摄影师ID")
    private Long employeeId;

    /** 套餐ID */
    @Excel(name = "套餐ID")
    private Long setmenuId;

    /** 客户备注 */
    @Excel(name = "客户备注")
    private String note;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setAddressId(Long addressId) 
    {
        this.addressId = addressId;
    }

    public Long getAddressId() 
    {
        return addressId;
    }
    public void setNumberOfPeople(Long numberOfPeople) 
    {
        this.numberOfPeople = numberOfPeople;
    }

    public Long getNumberOfPeople() 
    {
        return numberOfPeople;
    }
    public void setCreated(Date created) 
    {
        this.created = created;
    }

    public Date getCreated() 
    {
        return created;
    }
    public void setEmployeeId(Long employeeId) 
    {
        this.employeeId = employeeId;
    }

    public Long getEmployeeId() 
    {
        return employeeId;
    }
    public void setSetmenuId(Long setmenuId) 
    {
        this.setmenuId = setmenuId;
    }

    public Long getSetmenuId() 
    {
        return setmenuId;
    }
    public void setNote(String note) 
    {
        this.note = note;
    }

    public String getNote() 
    {
        return note;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("addressId", getAddressId())
            .append("numberOfPeople", getNumberOfPeople())
            .append("created", getCreated())
            .append("employeeId", getEmployeeId())
            .append("setmenuId", getSetmenuId())
            .append("note", getNote())
            .toString();
    }
}
